package com.ruoyi.statistics.mapper;

import com.ruoyi.statistics.domain.OrderChange;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface SysStatisticsOrderMapper {

    List<OrderChange> getAllStatisticsOrder(@Param("startTime") Date startTime,@Param("endTime") Date endTime);

    int getOrderCountByDate(@Param("currentDate") Date currentDate);

    int getStoreOrderCountByDate(@Param("currentDate") Date currentDate, @Param("deptId")Long deptId);
}
